<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('pass')}">
    <input  class="form-control form-control" name="ids" type="text" value="{$row.shop_id}" style="display: none">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <label class="control-label">{$row.shop_name}</label>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('任务单数限制')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control form-control" name="row[limit_num]" type="text" value="{if $row.status == 1} {$row.limit_num} {/if}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">隔日单金豆/单(不能小于{$min_limit}):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignor_1" data-rule="required" class="form-control form-control" name="row[gold_bean]" type="text" value="{if $row.status == 1} {$row.gold_bean} {/if}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">精刷单金豆/单(不能小于{$min_limit_jing}):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignor_2" data-rule="required" class="form-control form-control" name="row[jing_bean]" type="text" value="{if $row.status == 1} {$row.jing_bean} {/if}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed {if ($row.status == 1 || $row.status == 3)} disabled {/if}">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
